dataSource {
	pooled = false
	loggingSql = false
	driverClassName = "com.mysql.jdbc.Driver"
	dialect = "org.hibernate.dialect.MySQLMyISAMDialect"
}

hibernate {
    cache.use_second_level_cache = true
    cache.use_query_cache = true
    cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider'
}

environments {
    development {
		dataSource {
			username = "mono_admin"
			password = "M0n0123"
			dbCreate = "update" // one of 'create', 'create-drop','update'
			url = "jdbc:mysql://10.248.40.7:3306/monocaffe"
		}
    }
    test {
        dataSource {
            dbCreate = "update"
            url = "jdbc:hsqldb:mem:testDb"
        }
    }
    production {
        dataSource {
			jndiName = "java:comp/env/monocaffe-mysql-ds"
        }
    }
}